<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Report example</title>
</head>
<body>
<h1>Example 1</h1></h1> <br>
<form action="/pdf/helloworldDispatcher?reportId=ODTHelloWorldWithVelocity"
	method="post">
	<input type="submit" value="Generate Report">
	<input type="text" name="name" value="world" />
</form>
<br>
<h1>Example 2</h1> <br>
<form action="/pdf/helloworldDispatcher?reportId=ODTProjectWithVelocityList"
	method="post">
	<table>
        <!--  Data Model -->
        <tr>
                <td>Name :</td>
                <td><input type="text" name="name" value="Pentalog Report" /></td>
        </tr>
        <tr>
                <td>developers.Name :</td>
                <td><input type="text" name="fname" value="fname" /></td>
        </tr>
        <tr>
                <td>developers.LastName :</td>
                <td><input type="text" name="lname" value="lname" /></td>
        </tr>
        <tr>
                <td>developes.Mail :</td>
                <td><input type="text" name="email" value="email" /></td>
        </tr>
        <tr>
                <td>Nb developers :</td>
                <td><select name="nbDevelopers">
                        <option value="5">5</option>
                        <option value="10">10</option>
                        <option value="20">20</option>
                        <option value="30">30</option>
                        <option value="50">50</option>
                        <option value="100">100</option>
                </select></td>
        </tr>
        <!--  converter HTTP parameter -->
        <tr>
                <td>Output type :</td>
                <td><select name="converter">
                        <option value="">-- No conversion --</option>
                        <option value="PDF_ITEXT">... PDF ...</option>
                </select></td>
        </tr>
        <!-- Generate report -->
        <tr>
                <td colspan="2"><input type="submit" value="Generate Report"></td>
        </tr>
</table>
</form>
</body>
</html>